/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author cirulapiph
 */
public class VariansStudentT implements Varians{
    ParameterStudentT parameter;
    public VariansStudentT(ParameterStudentT parameter){
        this.parameter = parameter;
        System.out.println("Varians Distribusi Student-T = "+getVarians());
    }

    @Override
    public double getVarians() {
        return parameter.v/(parameter.v-2);
    }
    
}
